package com.feihong.yw189.model.Kaika;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * @Author wangziheng
 * @ProjectName ywydt
 * @ClassName TelPriceModel
 * @package com.feihong.yw189.model.Kaika
 * @data 2018/12/20 19:13
 * @Describe
 * @Change
 */
public class TelPriceModel implements Parcelable {
    private String mTelNum;
    private double mTelPrice;
    private double mVirtualPrice;


    public TelPriceModel() {
    }

    public TelPriceModel(String mTelNum, double mTelPrice, double mVirtualPrice) {
        this.mTelNum = mTelNum;
        this.mTelPrice = mTelPrice;
        this.mVirtualPrice = mVirtualPrice;
    }

    protected TelPriceModel(Parcel in) {
        mTelNum = in.readString();
        mTelPrice = in.readDouble();
        mVirtualPrice = in.readDouble();
    }

    public static final Creator<TelPriceModel> CREATOR = new Creator<TelPriceModel>() {
        @Override
        public TelPriceModel createFromParcel(Parcel in) {
            return new TelPriceModel(in);
        }

        @Override
        public TelPriceModel[] newArray(int size) {
            return new TelPriceModel[size];
        }
    };

    public double getmVirtualPrice() {
        return mVirtualPrice;
    }

    public void setmVirtualPrice(double mVirtualPrice) {
        this.mVirtualPrice = mVirtualPrice;
    }

    public String getmTelNum() {
        return mTelNum;
    }

    public void setmTelNum(String mTelNum) {
        this.mTelNum = mTelNum;
    }

    public double getmTelPrice() {
        return mTelPrice;
    }

    public void setmTelPrice(double mTelPrice) {
        this.mTelPrice = mTelPrice;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(mTelNum);
        dest.writeDouble(mTelPrice);
        dest.writeDouble(mVirtualPrice);
    }
}
